package com.lc.stock.module.floatingstockholder.dao;

import com.lc.stock.module.floatingstockholder.domain.FloatingStockholder;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * @author lichen
 * @description 公司前十大流通股东
 * @menu
 * @date 2023/2/6 10:57
 */
public interface FloatingStockholderDao extends MongoRepository<FloatingStockholder,String> {

    List<FloatingStockholder> findByStockCode(String stockCode);

    void deleteByStockCode(String stockCode);

}
